{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/head",KUO,THIS) }}
<section class="page-content">
    <div class="soft-list2" id="softContent">
        
        <div class="list" >                                     
            {{#
                let $SOKEY = KUO.$SOKEY;
                let $WWH = {'off':2 ,' (' :'and' ,'name LIKE':'%'+$SOKEY+'%'  ,'keywords OLK':'%'+$SOKEY+'%' ,'describes OLK':'%'+$SOKEY+'%',')':''};
                let $MEYE = 10;
                let $游戏数据 = await  THIS.CENTER_select($WWH,"sortsize desc,id desc",($MEYE+','+KUO.PAGE)  );
               
                if( $游戏数据 ){
                    for(let $ii in $游戏数据 ){
                        let $eli = $游戏数据 [$ii ];
                        let $eliurl = KuoLink([ KUO.CLASS, $eli['url'] ]);
                        
                }}
                <a class="list-item flex" href="{{$eliurl}}">
                    <div class="col">
                        <img class="pic lazy" src="{{CDNHOST}}Tpl/noimg.png" lay-src="{{ pichttp($eli['photo']) }}"  alt="{{$eli['name']}}">
                    </div>
                    <div class="con flex-item">
                        <div class="tit">{{$eli['name']}}</div>
                        <div class="star star{{$eli['recommend']<=3?3:$eli['recommend']}}"></div>
                        <div class="txt">
                             <span class="attr">{{$eli['describes']}} </span>
                        </div>
                    </div>
                    <div class="col">
                        <span class="btn btn-download" href="{{$eliurl}}">下载 </span>
                    </div>
                </a>

            {{#  }
            }else{  }}
            <div class="soft-info">
                <div class="bd">
                    <dl class="con">
                        <dt>没有相关搜索</dt>    
                    </dl>
                </div>
            </div>
            {{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/tuijian",KUO,THIS) }}

            {{# } }}
            
            <div class="fn-clear" style="margin-top: 0.3rem;clear:both;"></div> 
           
            {{#
                let $DB = await db('cms_content');
                let $TOTAL =  await $DB.Where($WWH).Total();
              
                if($TOTAL > $MEYE){
                }}<div class="pageddd">{{ Mode("Tools").Fenye( $MEYE , $TOTAL  , 5 , KUO.PAGE ,KuoLink([ KUO.CLASS,'soso', $SOKEY ],2) , WebExt ) }} <div  style="clear:both;"></div></div>
                {{# } }}
            <div class="fn-clear" style="margin-top: 0.3rem;clear:both;"></div>  
        </div>
    </div>
  
</section>
{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/foot",KUO,THIS) }}
<script type="text/javascript">
seajs.use('app/common', function(fn){
    fn.init();
    fn.imgLazyLoad();
});
</script>